#ifndef _PHS_NET_BR_
#define _PHS_NET_BR_

#include <linux/errno.h>
#include <linux/if_arp.h>
#include "pf_net_mod.h"
#include "neighbours.h"

typedef struct {
        //ip header
        unsigned char verihl;
        unsigned char zero;
        unsigned short tl;//need to reinit
        unsigned short id;
        unsigned short flags;
                     unsigned short ttlprot;
                     unsigned short ipcrc;//need to reinit
                     u_int32_t sip;
                     u_int32_t dip;
        //udp header
        unsigned short sport;
        unsigned short dport;
        unsigned short len;//need to reinit
        unsigned short crc;
	unsigned char data[1000];
}phs_udp;

void phs_initSourceIP(int adr);

int phs_sendHello(char *buf, int len);


#endif
